package com.boyi.db.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "`bss_road_info`")
public class BssRoadInfo {
    /**
     * id
     */
    @Id
    @Column(name = "`road_id`")
    private Integer roadId;

    /**
     * 路段描述
     */
    @Column(name = "`road_description`")
    private String roadDescription;

    /**
     * 获取id
     *
     * @return road_id - id
     */
    public Integer getRoadId() {
        return roadId;
    }

    /**
     * 设置id
     *
     * @param roadId id
     */
    public void setRoadId(Integer roadId) {
        this.roadId = roadId;
    }

    /**
     * 获取路段描述
     *
     * @return road_description - 路段描述
     */
    public String getRoadDescription() {
        return roadDescription;
    }

    /**
     * 设置路段描述
     *
     * @param roadDescription 路段描述
     */
    public void setRoadDescription(String roadDescription) {
        this.roadDescription = roadDescription == null ? null : roadDescription.trim();
    }
}